package com.zhenwei.zscm.common.base;

public class RestMsg {

    public static final String SUCCESS = "请求成功";
    public static final String FAILURE = "请求失败";
    public static final String UNAUTHORIZED = "未授权";
    public static final String FILE_NOT_EXISTS = "文件不存在！";
    public static final String UPLOAD_FAILED = "文件上传失败！";
    public static final String DOWNLOAD_FAILED = "文件下载失败！";


    public static final String CAN_NOT_CREATE_ADMIN = "不能创建系统预置角色";
    public static final String CAN_NOT_DELETE_ADMIN = "不能删除系统预置角色";
    public static final String CAN_NOT_CREATE_ADMIN_ROLE = "不能创建系统预置角色权限";
    public static final String CAN_NOT_UPDATE_ADMIN_ROLE = "不能创建系统预置角色权限";
    public static final String ROLE_AUTH_EXISTS = "角色已添加过权限，不要重复添加";
    public static final String ROLE_AUTH_NOT_EXISTS = "角色没有添加权限，请通过添加的方式设置权限";
    public static final String NO_AUTH_ACCESS = "接口无访问权限，请联系管理员开通";
    public static final String TOKEN_EXPIRED = "授权信息已过期,请重新登录";
    public static final String USERNAME_OR_PASSWORD_IS_EMPTY = "登录名或密码为空";
    public static final String USERNAME_OR_PASSWORD_INCORRECT = "用户名或密码不正确";
    public static final String LOGIN_SUCCESS = "登录成功";

    public static final String PASSWORD_LENGTH_INCORRECT = "密码必须在6-20位之间，包含数字和字母";
    public static final String PARAM_IS_EMPTY = "参数不能为空";
    public static final String USERNAME_EXISTS = "用户登录名已存在，请重新输入";
    public static final String PRODUCT_NOT_EXISTS = "所选产品已不存在，请刷新页面重试";
    public static final String PRODUCT_PART_EXISTS = "所选产品已添加过相同配件，请勿重复添加";

    public static final String CUSTOMER_NOT_EXISTS = "所选的客户已不存在，请刷新页面重试";
    public static final String ORDER_NUMBER_EXISTS = "工单编号已存在，请重新获取工单号再试";
    public static final String SHIPPING_ORDER_NUMBER_EXISTS = "订单编号已存在，请重新获取订单号再试";
    public static final String ORDER_NOT_EXISTS = "工单已不存在";
    public static final String ORDER_PRODUCT_NOT_EXISTS = "当前工单中本产品已不存在，请刷新页面重试";
    public static final String ORDER_IS_PROCESSING = "工单已开始处理，不能修改和删除";
    public static final String NO_AUTH_UPDATE = "您没有修改本数据的权限";
    public static final String NO_AUTH_DELETE = "您没有删除本数据的权限";
    public static final String ORDER_PRODUCT_DELETE_FAILED = "产品删除失败";

    public static final String ORDER_PRODUCT_CHECK_EXISTS = "当前工单中本产品已添加过检测数据，请勿重复添加";
    public static final String ORDER_PRODUCT_CHECK_NOT_EXISTS = "当前工单中本产品检测数据可能已被删除，请刷新页面重试";
    public static final String ORDER_FINISHED = "当前工单已完成，需要处理请联系管理员";
    public static final String ORDER_STOPPED = "当前工单已作废，需要处理请联系管理员";
    public static final String ORDER_PRODUCT_REPAIR_EXISTS = "当前工单中本产品已添加过维修数据，请勿重复添加";
    public static final String ORDER_PRODUCT_REPAIR_NOT_EXISTS = "当前工单中本产品维修数据可能已被删除，请刷新页面重试";

    public static final String ORDER_PRODUCT_REPAIRED = "当前产品已维修完成，不能再修改数据，请联系管理员处理！";
    public static final String PAY_TYPE_IS_EMPTY = "已支付情况下，支付方式不能为空";
    public static final String PAY_DATE_IS_EMPTY = "已支付情况下，支付日期不能为空";

    public static final String INVOICE_TYPE_IS_EMPTY = "已开票情况下，发票类型不能为空";
    public static final String INVOICE_NUMBER_IS_EMPTY = "已支付情况下，发票编号不能为空";
    public static final String INVOICE_DATE_IS_EMPTY = "已支付情况下，开票日期不能为空";


    public static final String REPAIR_STATE_CANT_MAINTAIN = "维修状态是默认字典，不能进行维护";
    public static final String DICT_CODE_EXISTS = "该字典分类下已存在相同编码的字典";

    public static final String SHIPPING_ORDER_NOT_EXISTS = "发货订单已经不存在，请刷新后重试";
    public static final String PRODUCT_HAS_SAME_SN = "提交的产品数据中存在相同的产品SN";


    public static final String READ_FILE_NOT_EXISTS = "要读取的文件不存在";
    public static final String READ_FILE_IS_EMPTY = "没有读取到任何数据";
    public static final String IMPORT_FAILED = "导入失败";
    public static final String NO_DATA_TO_EXPORT = "没有查询到要导出的数据";
    public static final String TEMPLATE_IS_NOT_EXISTS = "导出数据的模板不存在";
    public static final String EXPORT_FAILED = "导出失败";

}
